package com.example.asyncwrite.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.asyncwrite.model.Order;
import com.example.asyncwrite.model.OrderDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper extends BaseMapper<Order> {
    List<OrderDTO> getOrderListByUserId(@Param("userId") Long userId);
}
